package com.clear.honghefinance.biz.modules.assist_calculate_summary.domain.dto;


import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 禁用启用辅助核算DTO
 */
@Getter
@Setter
public class UpdateAssistCalculateDisableDTO implements Serializable {

    @ApiModelProperty(value = "辅助核算id")
    @NotNull(message = "辅助核算id不能为空")
    @Min(value = 1)
    private Long id;

    @ApiModelProperty(value = "禁用或启用，true禁用，false启用")
    @NotNull(message = "禁用或启用不能为空")
    private Boolean disable;
}
